<template>
	<div class="contents">
		<van-nav-bar
		  title="评论"
		  left-text="返回"
		  left-arrow
		  @click-left="onClickLeft"
		/>
		<div class="content">
			<section class="comborder">
				<van-row class="collect-ch">
					<van-col span="4">
						<div class="collect-chi">
							<img src="../../build/logo.png" alt="" class="collect-cimg">
						</div>
					</van-col>
					<van-col span="20" class="flextext">
						<p>小红</p>
						<p>真好用</p>
						<p>32分钟前</p>
					</van-col>
				</van-row>
			</section>
			<section class="comborder">
				<van-row class="collect-ch">
					<van-col span="4">
						<div class="collect-chi">
							<img src="../../build/logo.png" alt="" class="collect-cimg">
						</div>
					</van-col>
					<van-col span="20" class="flextext">
						<p>小红</p>
						<p>真好用</p>
						<p>32分钟前</p>
					</van-col>
				</van-row>
			</section>
		</div>
	</div>
</template>

<script>
import Headerc from './Headerc'
import Vue from 'vue'
import { Row, Col, Cell, CellGroup } from 'vant'
Vue.use(Row).use(Col).use(Cell).use(CellGroup)

import { NavBar } from 'vant';
Vue.use(NavBar);
export default {
	data () {
		return {}
	},
	methods: {
		onClickLeft () {
			this.$router.go(-1)
		}
	},
	components: {
		Headerc
	}
}
</script>

<style lang="scss" scoped="scoped">
@import '@/lib/reset.scss';
// .content {
// 	padding: 0 .1rem;
// 	box-sizing: border-box;
// }
.collect-mt {
	margin-top: .1rem;
}
.collect-ch {
	min-height: .5rem;
	@include flexbox();
	@include justify-content();
	@include align-items();
}
.collect-chi {
	height: 100%;
	padding: 0 .1rem;
	box-sizing: border-box;
}
.collect-img {
	width: 100%;
	height: auto;
	display: block;
	height: 1.4rem;
}
.collect-cimg {
	@include rect(.5rem, .5rem);
	@include border-radius(50%);
	border: 1px solid #ccc;
}
.flextext {
	@include flexbox();
	@include justify-content();
	@include flex-direction(column);
	padding: 0 .1rem;
	box-sizing: border-box;
}
.comborder {
	@include border(0 0 1px 0, #ccc, solid, null);
	padding: .1rem 0;
}
</style>
